Binary Trees, Left and Right Paths, WKB Expansions, and Painleve Transcendents
نویسندگان
چکیده
During the 10th Seminar on Analysis of Algorithms, MSRI, Berkeley, June 2004, Knuth posed the problem of analyzing the left and the right path length in a random binary trees. In particular, Knuth asked about properties of the generating function of the joint distribution of the left and the right path lengths. In this paper, we mostly focus on the asymptotic properties of the distribution of the difference between the left and the right path lengths. Among other things, we show that the Laplace transform of the appropriately normalized moment generating function of the path difference satisfies the first Painlevé transcendent. This is a nonlinear differential equation that has appeared in many modern applications, from nonlinear waves to random matrices. Surprisingly, we find out that the difference between path lengths is of the order n where n is the number of nodes in the binary tree. This was also recently observed by Marckert and Janson. We present precise asymptotics of the distribution’s tails and moments. We shall also discuss the joint distribution of the left and right path lengths. Throughout, we use methods of analytic algorithmics such as generating functions and complex asymptotics, as well as methods of applied mathematics such as the WKB method.
منابع مشابه
Left and right length of paths in binary trees or on a question of Knuth
We consider extended binary trees and study the common right and left depth of leaf j, where the leaves are labelled from left to right by 0, 1, . . . , n, and the common right and left external pathlength of binary trees of size n. Under the random tree model, i.e., the Catalan model, we characterize the common limiting distribution of the suitably scaled left depth and the difference between ...
متن کاملBinary Trees, Geometric Lie Algebras, and Operads
Let T be a binary tree. We put a total ordering on its nodes as follows. If p1 and p2 are two distinct nodes of T , then there are two unique paths γ1 and γ2 from the root r of T . We say p1 < p2 if p1 is an ancestor of p2, or if when γ1 and γ2 first diverge at a node qi, γ1 goes right and γ2 goes left. This total ordering is called the preorder on T . It induces a total ordering of the leaves ...
متن کاملOn the real quadratic fields with certain continued fraction expansions and fundamental units
The purpose of this paper is to investigate the real quadratic number fields $Q(sqrt{d})$ which contain the specific form of the continued fractions expansions of integral basis element where $dequiv 2,3( mod 4)$ is a square free positive integer. Besides, the present paper deals with determining the fundamental unit$$epsilon _{d}=left(t_d+u_dsqrt{d}right) 2left.right > 1$$and $n_d$ and $m_d...
متن کاملA Strahler bijection between Dyck paths and planar trees
The Strahler number of binary trees has been introduced by hydrogeologists and rediscovered in computer science in relation with some optimization problems. Explicit expressions have been given for the Strahler distribution, i.e. binary trees enumerated by number of vertices and Strahler number. Two other Strahler distributions have been discovered with the logarithmic height of Dyck paths and ...
متن کاملOn a WKB-theoretic approach to Ablowitz-Segur's connection problem for the second Painlev e equation
We discuss Ablowitz-Segur's connection problem for the second Painlev e equation from the viewpoint of WKB analysis of Painlev e transcendents with a large parameter. The formula they rst discovered is rederived from a suitable combination of connection formulas for the rst Painlev e equation.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006